package com.wsz.security.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wsz.security.pojo.User;
import com.wsz.security.service.UserService;
import com.wsz.security.mapper.UserMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

/**
* @author wangs
* @description 针对表【user】的数据库操作Service实现
* @createDate 2022-11-19 23:09:50
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
    implements UserService{

    @Override
    public int updatebyUsername(String username, String newPassword) {
        return baseMapper.updatebyUsername(username,newPassword);
    }
}




